home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
376_01
/
os2tool.000
/
ALARMFLE.TXT
< prev
next >
Wrap
Text File
|
1992-08-13
|
2KB
|
53 lines
ALARM-FILE FORMAT [OS/2 ONLY]
NAME ALARM FILE FORMAT - This document describes the
alarm-commands file format
SYNTAX
# comment line
; comment line
CONTINUE
QUIT
BREAK
time message
+time message
USAGE
Alarm can be given its arguments in a file. You can
comment out lines by preceding them with either # or ;-
characters. This is an easy way to temporarily disable
some commands.
The CONTINUE-command is most useful at the end of the
file. When this command is read, the file is started
again from the beginning. You can use it situations where
the machine is not shut down for the night and you want
to have the same alarms every day.
When the QUIT or BREAK keywords are recognized, the file
is immediately closed and the alarm-command stopped.
Two time formats are supported. The first list the
absolute time in hh:mm:ss -format, where hh=hour,
mm=minute, ss=second. The time is parsed from left to
right. That is a two part time represents hh:mm and a one
part time represents hours only. The time format is
parsed from left to righ. That means that a two part time
entry is understood as hh:mm and one part time entry is
hh.
The second format is given relative to the current time.
This format is identical to the first format, except that
it starts with a plus (+).
EXAMPLES
11:00:00\n\n Lunch!
13:00:00 Call George
17:00:00 \n\n The day is done.
SEE ALSO
until, at